package com.wq.order.feign;

import com.wq.common.base.ApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name="wq-goods")
public interface GoodSkuFeignService {

    /**
     * 查询
     * @param id
     * @return
     */
    @GetMapping("goodsSku/getSkuInfo/{id}")
    public ApiResponse getSkuInfo(@PathVariable("id") Long id);

}
